/**
 * 
 */
package com.designpattern.design.decorator.coffee;

/**
 * @author zhangyang
 *
 */
public class LatteCoffee  extends Coffee{

	public LatteCoffee(){
		/**
		 * 构造拿铁咖啡 将名字和单价传进去
		 */
		this.setDesc("拿铁咖啡");
		this.setPrice(25f);
	}
	public LatteCoffee(String desc,float price) {
		/**
		 * 构造拿铁咖啡 将名字和单价传进去
		 */
		super.setDesc(desc);
		super.setPrice(price);
	}
}
